package com.huike.business.mapper;

import java.util.Date;
import java.util.List;

import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

/**
 * 商机跟进记录Mapper接口
 *
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    int add(TbBusinessTrackRecord trackRecord);

    List<TbBusinessTrackRecord> list(@Param("businessId") Long id);

    int back(@Param("businessId") Long id,@Param("reason") Integer reason,@Param("createBy")String username,@Param("createTime") Date nowDate);

}